package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

/**
 * @author cjr
 */
@Data
@Builder
public class CompanyCardUsersResponse {
    @ApiModelProperty(value = "人员列表", dataType = "CompanyCardUsersResponse.User")
    private PageResponse2<User> users;

    @ApiModel("CompanyCardUsersResponse.User")
    @Data
    @Builder
    public static class User {
        @ApiModelProperty("名片ID")
        private Integer cardId;
        @ApiModelProperty("名片头像")
        private String logo;
        @ApiModelProperty("名片名称")
        private String name;
        @ApiModelProperty("是否设置为门店二维码:0 不是 1是")
        private Integer selected;
    }
}
